package com.tpp.threat_perception_platform.dao;

import com.tpp.threat_perception_platform.param.MyParam;
import com.tpp.threat_perception_platform.pojo.HostSystemVul;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author yokui
* @description 针对表【host_system_vul】的数据库操作Mapper
* @createDate 2025-06-16 12:26:24
* @Entity com.tpp.threat_perception_platform.pojo.HostSystemVul
*/
public interface HostSystemVulMapper {

    int deleteByPrimaryKey(Long id);

    int insert(HostSystemVul record);

    int insertSelective(HostSystemVul record);

    HostSystemVul selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HostSystemVul record);

    int updateByPrimaryKey(HostSystemVul record);

    void deleteByMacAddress(String macAddress);

    List<HostSystemVul> findAll(@Param("param") MyParam param);

    //模糊搜索相关
    List<HostSystemVul> findByMacAddress(@Param("param") MyParam param);
    List<HostSystemVul> findByHostName(@Param("param") MyParam param);
    List<HostSystemVul> findBySystemVulName(@Param("param") MyParam param);
    List<HostSystemVul> findByStatus(@Param("param") MyParam param);

}
